package com.learnyou.server.xingzuo.dto.paramDTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 机构公众号信息
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrgMpDTO {

    @ApiModelProperty("机构ID")
    private int orgId;

    @ApiModelProperty("机构公众号appid")
    private String mpAppId;

    @ApiModelProperty("机构公众号令牌")
    private String mpAccessToken;

    @ApiModelProperty("机构公众号刷新令牌")
    private String mpRefreshToken;

    @ApiModelProperty("公众号令牌过期时间 （秒）")
    private Long mpExpiresIn;

    @ApiModelProperty("令牌最近更新时间")
    private Date mpUpdatedAt;

    @ApiModelProperty("公众号名称")
    private String mpName;

    @ApiModelProperty("公众号二维码")
    private String mpQrImage;

    @ApiModelProperty("公众号头像")
    private String mpHeadImage;

    @ApiModelProperty("公众号跳转到小程序地址")
    private String mpJumpMenuUrl;

    @ApiModelProperty("公众号主体名称")
    private String mpPrincipalName;

    @ApiModelProperty("公众号认证类型")
    private int mpVerifyTypeInfo;

    @ApiModelProperty("公众号类型")
    private int mpServiceTypeInfo;

    @ApiModelProperty("公众号行业设置： -1：未知 0：设置 1： 未设置")
    private int mpIndustrySetting;

    @ApiModelProperty("公众号消息模板设置： -1：未知 0：设置 1： 未设置")
    private int mpTemplateSetting;
}
